package com.biglead.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biglead.admin.param.UmsAdminParam;
import com.biglead.admin.pojo.UmsRole;
import com.biglead.common.pojo.UserInfo;

import java.util.List;

public interface UmsAdminService {
    List<UmsRole> getRoleList(Long id);

    UserInfo queryById(Long userId);

    Page<UserInfo> pageList(String keyword, Integer pageSize, Integer pageNum);

    boolean updateUserinfo(Long id, UserInfo admin);

    UserInfo register(UmsAdminParam umsAdminParam);

    boolean deleteFromId(Long id);

    boolean updateStatusFromId(Long id, Integer status);

    boolean updateUserRole(Long adminId, List<Long> roleIds);
}
